/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package systole.domain.clinicalInformation.standardValues;

import java.io.Serializable;

/**
 *
 * @author jmj
 */
public class StandardValue implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = -9088517648220551257L;
    private Integer id;
    private StandardParams param;
    private Float normal;
    private Float medium;
    private Float high;

    /**
     * @return the id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return the param
     */
    public StandardParams getParam() {
        return param;
    }

    /**
     * @param param the param to set
     */
    public void setParam(StandardParams param) {
        this.param = param;
    }

   

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final StandardValue other = (StandardValue) obj;
        if (this.id != other.id && (this.id == null || !this.id.equals(other.id))) {
            return false;
        }
        if (this.param != other.param && (this.param == null || !this.param.equals(other.param))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 5;
        hash = 71 * hash + (this.id != null ? this.id.hashCode() : 0);
        hash = 71 * hash + (this.param != null ? this.param.hashCode() : 0);
        return hash;
    }

    /**
     * @return the normal
     */
    public Float getNormal() {
        return normal;
    }

    /**
     * @param normal the normal to set
     */
    public void setNormal(Float normal) {
        this.normal = normal;
    }

    /**
     * @return the medium
     */
    public Float getMedium() {
        return medium;
    }

    /**
     * @param medium the medium to set
     */
    public void setMedium(Float medium) {
        this.medium = medium;
    }

    /**
     * @return the high
     */
    public Float getHigh() {
        return high;
    }

    /**
     * @param high the high to set
     */
    public void setHigh(Float high) {
        this.high = high;
    }
}
